package cn.bdqn.service.impl;

import cn.bdqn.dao.OrderMapper;
import cn.bdqn.pojo.Order;
import cn.bdqn.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 正文
 * @date 2020/7/20 - 16:04
 */
@Service
public class OrderServiceImpl implements OrderService {
    @Resource
    OrderMapper orderMapper;
    @Override
    public List<Order> findGradeAll(Integer id) {
        return orderMapper.findGradeAll(id);
    }
    @Override
    public List<Order> getEmps(Integer id, Integer pn) {
        return orderMapper.getEmps(id,pn);
    }

    @Override
    public Integer getCount(Integer id) {
        return orderMapper.getCount(id);
    }
}
